org.eclipse.vtp.desktop.editors.core.elements
Class PrimitiveElement

java.lang.Object
  extended by org.eclipse.vtp.desktop.model.core.Component
      extended by org.eclipse.vtp.desktop.model.core.Element
          extended by org.eclipse.vtp.desktop.editors.core.elements.PrimitiveElement

public class PrimitiveElement
extends Element


Field Summary
 
Fields inherited from class org.eclipse.vtp.desktop.model.core.Element
PROP_NAME
 
Constructor Summary
PrimitiveElement(java.lang.String name)
           
PrimitiveElement(java.lang.String id, java.lang.String name)
           
 
Method Summary
 boolean acceptConnector(Element origin)
           
 boolean canDelete()
           
 void fireChange()
           
 java.util.List getActions(CommandListener commandListener)
           
 java.util.List getConfigurationPanels()
           
 ConnectorRecord getConnectorRecord(java.lang.String recordName)
           
 java.util.List getConnectorRecords()
           
 java.util.List getConnectorRecords(int type)
           
 org.eclipse.swt.graphics.Image getIcon()
           
 PrimitiveInformationProvider getInformationProvider()
           
 void getOutgoingVariables(java.lang.String exitPoint, java.util.Map variables, java.util.Map visited)
           
 java.lang.String getTypeId()
           
 java.lang.String getTypeName()
           
 boolean hasConnectors()
           
 boolean hasPathToStart(java.util.Map originPath)
           
 void readConfiguration(org.w3c.dom.Element configuration)
           
 void resolve()
           
 void setTypeId(java.lang.String typeId)
           
 void setTypeName(java.lang.String typeName)
           
 void showProperties()
           
 void writeConfiguration(org.w3c.dom.Element configuration)
           
 
Methods inherited from class org.eclipse.vtp.desktop.model.core.Element
addConfigurationManager, addIncomingConnector, commitConfigurationChanges, getConfigurationManager, getIncomingConnectors, getIncomingVariables, getIncomingVariables, getName, getOutgoingVariables, hasErrors, hasTodo, hasWarnings, listConfigurationManagers, removeIncomingConnector, rollbackConfigurationChanges, setName, setScope, validateStatus
 
Methods inherited from class org.eclipse.vtp.desktop.model.core.Component
addListener, addPropertyListener, delete, fireDelete, firePropertyChange, getId, getModel, removeListener, removePropertyListener, setId, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveElement

public PrimitiveElement(java.lang.String name)

PrimitiveElement

public PrimitiveElement(java.lang.String id,
                        java.lang.String name)
Method Detail

getConnectorRecord

public ConnectorRecord getConnectorRecord(java.lang.String recordName)
Specified by:
getConnectorRecord in class Element

getConnectorRecords

public java.util.List getConnectorRecords()
Specified by:
getConnectorRecords in class Element

getConnectorRecords

public java.util.List getConnectorRecords(int type)
Specified by:
getConnectorRecords in class Element

readConfiguration

public void readConfiguration(org.w3c.dom.Element configuration)
Specified by:
readConfiguration in class Element

writeConfiguration

public void writeConfiguration(org.w3c.dom.Element configuration)
Specified by:
writeConfiguration in class Element

acceptConnector

public boolean acceptConnector(Element origin)
Specified by:
acceptConnector in class Element

showProperties

public void showProperties()

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in class Element

getTypeId

public java.lang.String getTypeId()

setTypeId

public void setTypeId(java.lang.String typeId)

setTypeName

public void setTypeName(java.lang.String typeName)

getConfigurationPanels

public java.util.List getConfigurationPanels()
Specified by:
getConfigurationPanels in class Element

getInformationProvider

public PrimitiveInformationProvider getInformationProvider()

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in class Element

getOutgoingVariables

public void getOutgoingVariables(java.lang.String exitPoint,
                                 java.util.Map variables,
                                 java.util.Map visited)
Overrides:
getOutgoingVariables in class Element

getActions

public java.util.List getActions(CommandListener commandListener)

canDelete

public boolean canDelete()

resolve

public void resolve()
Overrides:
resolve in class Element

hasPathToStart

public boolean hasPathToStart(java.util.Map originPath)
Overrides:
hasPathToStart in class Element

fireChange

public void fireChange()
Overrides:
fireChange in class Component

hasConnectors

public boolean hasConnectors()
Specified by:
hasConnectors in class Element